Integrand size = 23, antiderivative size = 100 \[ \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {1}{9} b d^3 n x^3-\frac {3}{25} b d^2 e n x^5-\frac {3}{49} b d e^2 n x^7-\frac {1}{81} b e^3 n x^9+\frac {1}{315} \left (105 d^3 x^3+189 d^2 e x^5+135 d e^2 x^7+35 e^3 x^9\right ) \left (a+b \log \left (c x^n\right )\right ) \]
-1/9*b*d^3*n*x^3-3/25*b*d^2*e*n*x^5-3/49*b*d*e^2*n*x^7-1/81*b*e^3*n*x^9+1/ 315*(35*e^3*x^9+135*d*e^2*x^7+189*d^2*e*x^5+105*d^3*x^3)*(a+b*ln(c*x^n))
Time = 0.04 (sec) , antiderivative size = 133, normalized size of antiderivative = 1.33 \[ \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {1}{9} b d^3 n x^3-\frac {3}{25} b d^2 e n x^5-\frac {3}{49} b d e^2 n x^7-\frac {1}{81} b e^3 n x^9+\frac {1}{3} d^3 x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {3}{5} d^2 e x^5 \left (a+b \log \left (c x^n\right )\right )+\frac {3}{7} d e^2 x^7 \left (a+b \log \left (c x^n\right )\right )+\frac {1}{9} e^3 x^9 \left (a+b \log \left (c x^n\right )\right ) \]
-1/9*(b*d^3*n*x^3) - (3*b*d^2*e*n*x^5)/25 - (3*b*d*e^2*n*x^7)/49 - (b*e^3* n*x^9)/81 + (d^3*x^3*(a + b*Log[c*x^n]))/3 + (3*d^2*e*x^5*(a + b*Log[c*x^n ]))/5 + (3*d*e^2*x^7*(a + b*Log[c*x^n]))/7 + (e^3*x^9*(a + b*Log[c*x^n]))/ 9
Time = 0.28 (sec) , antiderivative size = 97, normalized size of antiderivative = 0.97, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2771, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx\) |
\(\Big \downarrow \) 2771 |
\(\displaystyle \frac {1}{315} \left (105 d^3 x^3+189 d^2 e x^5+135 d e^2 x^7+35 e^3 x^9\right ) \left (a+b \log \left (c x^n\right )\right )-b n \int \left (\frac {e^3 x^8}{9}+\frac {3}{7} d e^2 x^6+\frac {3}{5} d^2 e x^4+\frac {d^3 x^2}{3}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{315} \left (105 d^3 x^3+189 d^2 e x^5+135 d e^2 x^7+35 e^3 x^9\right ) \left (a+b \log \left (c x^n\right )\right )-b n \left (\frac {d^3 x^3}{9}+\frac {3}{25} d^2 e x^5+\frac {3}{49} d e^2 x^7+\frac {e^3 x^9}{81}\right )\) |
-(b*n*((d^3*x^3)/9 + (3*d^2*e*x^5)/25 + (3*d*e^2*x^7)/49 + (e^3*x^9)/81)) + ((105*d^3*x^3 + 189*d^2*e*x^5 + 135*d*e^2*x^7 + 35*e^3*x^9)*(a + b*Log[c *x^n]))/315
3.3.3.3.1 Defintions of rubi rules used
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*(x_)^(m_.)*((d_) + (e_.)*(x_)^(r_ .))^(q_.), x_Symbol] :> With[{u = IntHide[x^m*(d + e*x^r)^q, x]}, Simp[u*(a + b*Log[c*x^n]), x] - Simp[b*n Int[SimplifyIntegrand[u/x, x], x], x]] /; FreeQ[{a, b, c, d, e, n, r}, x] && IGtQ[q, 0] && IGtQ[m, 0]
Time = 0.81 (sec) , antiderivative size = 144, normalized size of antiderivative = 1.44
method | result | size |
parallelrisch | \(\frac {x^{9} b \ln \left (c \,x^{n}\right ) e^{3}}{9}-\frac {b \,e^{3} n \,x^{9}}{81}+\frac {x^{9} a \,e^{3}}{9}+\frac {3 x^{7} b \ln \left (c \,x^{n}\right ) d \,e^{2}}{7}-\frac {3 b d \,e^{2} n \,x^{7}}{49}+\frac {3 x^{7} a d \,e^{2}}{7}+\frac {3 x^{5} \ln \left (c \,x^{n}\right ) b \,d^{2} e}{5}-\frac {3 b \,d^{2} e n \,x^{5}}{25}+\frac {3 a \,d^{2} e \,x^{5}}{5}+\frac {x^{3} b \ln \left (c \,x^{n}\right ) d^{3}}{3}-\frac {b \,d^{3} n \,x^{3}}{9}+\frac {a \,d^{3} x^{3}}{3}\) | \(144\) |
risch | \(\frac {a \,d^{3} x^{3}}{3}+\frac {3 a \,d^{2} e \,x^{5}}{5}+\frac {x^{9} a \,e^{3}}{9}+\frac {3 \ln \left (c \right ) b d \,e^{2} x^{7}}{7}+\frac {i \pi b \,d^{3} x^{3} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{6}-\frac {3 i \pi b d \,e^{2} x^{7} \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{14}-\frac {i \pi b \,d^{3} x^{3} \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{6}-\frac {i \pi b \,e^{3} x^{9} \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{18}-\frac {3 i \pi b d \,e^{2} x^{7} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )}{14}+\frac {3 i \pi b d \,e^{2} x^{7} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{14}-\frac {i \pi b \,d^{3} x^{3} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )}{6}+\frac {\ln \left (c \right ) b \,d^{3} x^{3}}{3}+\frac {3 i \pi b d \,e^{2} x^{7} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{14}-\frac {i \pi b \,e^{3} x^{9} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )}{18}+\frac {i \pi b \,d^{3} x^{3} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{6}+\frac {i \pi b \,e^{3} x^{9} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{18}+\frac {i \pi b \,e^{3} x^{9} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{18}+\frac {3 x^{7} a d \,e^{2}}{7}+\frac {\ln \left (c \right ) b \,e^{3} x^{9}}{9}+\frac {b \,x^{3} \left (35 e^{3} x^{6}+135 e^{2} d \,x^{4}+189 d^{2} e \,x^{2}+105 d^{3}\right ) \ln \left (x^{n}\right )}{315}-\frac {3 i \pi b \,d^{2} e \,x^{5} \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{10}-\frac {3 i \pi b \,d^{2} e \,x^{5} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )}{10}-\frac {3 b \,d^{2} e n \,x^{5}}{25}-\frac {3 b d \,e^{2} n \,x^{7}}{49}-\frac {b \,d^{3} n \,x^{3}}{9}+\frac {3 \ln \left (c \right ) b \,d^{2} e \,x^{5}}{5}-\frac {b \,e^{3} n \,x^{9}}{81}+\frac {3 i \pi b \,d^{2} e \,x^{5} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{10}+\frac {3 i \pi b \,d^{2} e \,x^{5} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{10}\) | \(602\) |
1/9*x^9*b*ln(c*x^n)*e^3-1/81*b*e^3*n*x^9+1/9*x^9*a*e^3+3/7*x^7*b*ln(c*x^n) *d*e^2-3/49*b*d*e^2*n*x^7+3/7*x^7*a*d*e^2+3/5*x^5*ln(c*x^n)*b*d^2*e-3/25*b *d^2*e*n*x^5+3/5*a*d^2*e*x^5+1/3*x^3*b*ln(c*x^n)*d^3-1/9*b*d^3*n*x^3+1/3*a *d^3*x^3
Time = 0.31 (sec) , antiderivative size = 167, normalized size of antiderivative = 1.67 \[ \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {1}{81} \, {\left (b e^{3} n - 9 \, a e^{3}\right )} x^{9} - \frac {3}{49} \, {\left (b d e^{2} n - 7 \, a d e^{2}\right )} x^{7} - \frac {3}{25} \, {\left (b d^{2} e n - 5 \, a d^{2} e\right )} x^{5} - \frac {1}{9} \, {\left (b d^{3} n - 3 \, a d^{3}\right )} x^{3} + \frac {1}{315} \, {\left (35 \, b e^{3} x^{9} + 135 \, b d e^{2} x^{7} + 189 \, b d^{2} e x^{5} + 105 \, b d^{3} x^{3}\right )} \log \left (c\right ) + \frac {1}{315} \, {\left (35 \, b e^{3} n x^{9} + 135 \, b d e^{2} n x^{7} + 189 \, b d^{2} e n x^{5} + 105 \, b d^{3} n x^{3}\right )} \log \left (x\right ) \]
-1/81*(b*e^3*n - 9*a*e^3)*x^9 - 3/49*(b*d*e^2*n - 7*a*d*e^2)*x^7 - 3/25*(b *d^2*e*n - 5*a*d^2*e)*x^5 - 1/9*(b*d^3*n - 3*a*d^3)*x^3 + 1/315*(35*b*e^3* x^9 + 135*b*d*e^2*x^7 + 189*b*d^2*e*x^5 + 105*b*d^3*x^3)*log(c) + 1/315*(3 5*b*e^3*n*x^9 + 135*b*d*e^2*n*x^7 + 189*b*d^2*e*n*x^5 + 105*b*d^3*n*x^3)*l og(x)
Time = 1.25 (sec) , antiderivative size = 175, normalized size of antiderivative = 1.75 \[ \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=\frac {a d^{3} x^{3}}{3} + \frac {3 a d^{2} e x^{5}}{5} + \frac {3 a d e^{2} x^{7}}{7} + \frac {a e^{3} x^{9}}{9} - \frac {b d^{3} n x^{3}}{9} + \frac {b d^{3} x^{3} \log {\left (c x^{n} \right )}}{3} - \frac {3 b d^{2} e n x^{5}}{25} + \frac {3 b d^{2} e x^{5} \log {\left (c x^{n} \right )}}{5} - \frac {3 b d e^{2} n x^{7}}{49} + \frac {3 b d e^{2} x^{7} \log {\left (c x^{n} \right )}}{7} - \frac {b e^{3} n x^{9}}{81} + \frac {b e^{3} x^{9} \log {\left (c x^{n} \right )}}{9} \]
a*d**3*x**3/3 + 3*a*d**2*e*x**5/5 + 3*a*d*e**2*x**7/7 + a*e**3*x**9/9 - b* d**3*n*x**3/9 + b*d**3*x**3*log(c*x**n)/3 - 3*b*d**2*e*n*x**5/25 + 3*b*d** 2*e*x**5*log(c*x**n)/5 - 3*b*d*e**2*n*x**7/49 + 3*b*d*e**2*x**7*log(c*x**n )/7 - b*e**3*n*x**9/81 + b*e**3*x**9*log(c*x**n)/9
Time = 0.20 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.43 \[ \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {1}{81} \, b e^{3} n x^{9} + \frac {1}{9} \, b e^{3} x^{9} \log \left (c x^{n}\right ) + \frac {1}{9} \, a e^{3} x^{9} - \frac {3}{49} \, b d e^{2} n x^{7} + \frac {3}{7} \, b d e^{2} x^{7} \log \left (c x^{n}\right ) + \frac {3}{7} \, a d e^{2} x^{7} - \frac {3}{25} \, b d^{2} e n x^{5} + \frac {3}{5} \, b d^{2} e x^{5} \log \left (c x^{n}\right ) + \frac {3}{5} \, a d^{2} e x^{5} - \frac {1}{9} \, b d^{3} n x^{3} + \frac {1}{3} \, b d^{3} x^{3} \log \left (c x^{n}\right ) + \frac {1}{3} \, a d^{3} x^{3} \]
-1/81*b*e^3*n*x^9 + 1/9*b*e^3*x^9*log(c*x^n) + 1/9*a*e^3*x^9 - 3/49*b*d*e^ 2*n*x^7 + 3/7*b*d*e^2*x^7*log(c*x^n) + 3/7*a*d*e^2*x^7 - 3/25*b*d^2*e*n*x^ 5 + 3/5*b*d^2*e*x^5*log(c*x^n) + 3/5*a*d^2*e*x^5 - 1/9*b*d^3*n*x^3 + 1/3*b *d^3*x^3*log(c*x^n) + 1/3*a*d^3*x^3
Time = 0.33 (sec) , antiderivative size = 177, normalized size of antiderivative = 1.77 \[ \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=\frac {1}{9} \, b e^{3} n x^{9} \log \left (x\right ) - \frac {1}{81} \, b e^{3} n x^{9} + \frac {1}{9} \, b e^{3} x^{9} \log \left (c\right ) + \frac {1}{9} \, a e^{3} x^{9} + \frac {3}{7} \, b d e^{2} n x^{7} \log \left (x\right ) - \frac {3}{49} \, b d e^{2} n x^{7} + \frac {3}{7} \, b d e^{2} x^{7} \log \left (c\right ) + \frac {3}{7} \, a d e^{2} x^{7} + \frac {3}{5} \, b d^{2} e n x^{5} \log \left (x\right ) - \frac {3}{25} \, b d^{2} e n x^{5} + \frac {3}{5} \, b d^{2} e x^{5} \log \left (c\right ) + \frac {3}{5} \, a d^{2} e x^{5} + \frac {1}{3} \, b d^{3} n x^{3} \log \left (x\right ) - \frac {1}{9} \, b d^{3} n x^{3} + \frac {1}{3} \, b d^{3} x^{3} \log \left (c\right ) + \frac {1}{3} \, a d^{3} x^{3} \]
1/9*b*e^3*n*x^9*log(x) - 1/81*b*e^3*n*x^9 + 1/9*b*e^3*x^9*log(c) + 1/9*a*e ^3*x^9 + 3/7*b*d*e^2*n*x^7*log(x) - 3/49*b*d*e^2*n*x^7 + 3/7*b*d*e^2*x^7*l og(c) + 3/7*a*d*e^2*x^7 + 3/5*b*d^2*e*n*x^5*log(x) - 3/25*b*d^2*e*n*x^5 + 3/5*b*d^2*e*x^5*log(c) + 3/5*a*d^2*e*x^5 + 1/3*b*d^3*n*x^3*log(x) - 1/9*b* d^3*n*x^3 + 1/3*b*d^3*x^3*log(c) + 1/3*a*d^3*x^3
Time = 0.39 (sec) , antiderivative size = 113, normalized size of antiderivative = 1.13 \[ \int x^2 \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=\ln \left (c\,x^n\right )\,\left (\frac {b\,d^3\,x^3}{3}+\frac {3\,b\,d^2\,e\,x^5}{5}+\frac {3\,b\,d\,e^2\,x^7}{7}+\frac {b\,e^3\,x^9}{9}\right )+\frac {d^3\,x^3\,\left (3\,a-b\,n\right )}{9}+\frac {e^3\,x^9\,\left (9\,a-b\,n\right )}{81}+\frac {3\,d^2\,e\,x^5\,\left (5\,a-b\,n\right )}{25}+\frac {3\,d\,e^2\,x^7\,\left (7\,a-b\,n\right )}{49} \]